// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
import { ResourcesResult } from './model/resourcesModel';
export async function getPermissionList(data: API.PageParams & { name: string }) {
  return request<ResourcesResult>(AUTH_URL + '/permission/list', {
    method: 'POST',
    data,
  });
}
